//
//  CustomViewController.h
//  MyShiDiQuan
//
//  Created by cvicseks-mac1 on 16/9/6.
//  Copyright © 2016年 cvicseks-mac1. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CustomTabBarViewController : UITabBarController

// 整个工程只有一个时使用
+ (instancetype)shareInstance;
// 包含一个navication
- (void)setUpChildViewController:(UIViewController*)viewController WithTitle:(NSString*)title titleAttributes:(NSDictionary *)attributes andState:(UIControlState)state imageName:(NSString*)imageName seletedImageName:(NSString*)seletedImageName;
// 包含一个navication // select 状态
- (void)setUpChildViewController:(UIViewController*)viewController WithTitle:(NSString*)title titleAttributes:(NSDictionary *)attributes andState:(UIControlState)state selectTitleAttributes:(NSDictionary *)selectattributes andSelectState:(UIControlState)selectstate imageName:(NSString*)imageName seletedImageName:(NSString*)seletedImageName;
@end
